<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>js基础-延时执行</title>
  <link rel="stylesheet" href="../css/common.css">
</head>

<body>
  <!-- 显示当前时间 -->
  <div id="divNow"></div>

  <button id="btnCountdown">倒计时</button>
  <span id="spCountdown"></span>

  <button id="btnDelay">延时5秒后跳转网站</button>

  <script src="js/h06.js"></script>
</body>

</html>